﻿<UserControl x:Class="Bigeagle.WPF.Controls.MapControl"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="400" d:DesignWidth="600" MouseWheel="UserControl_MouseWheel" Loaded="UserControl_Loaded">
    <Grid x:Name="gridMain" MouseWheel="UserControl_MouseWheel">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="25"/>
            <ColumnDefinition Width="*"/>
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="*"/>
            <RowDefinition Height="25"/>
        </Grid.RowDefinitions>
            <Canvas Grid.Column=" 1" Grid.Row="0"  x:Name="canvasMain"  SizeChanged="canvasMain_SizeChanged" ClipToBounds="True" MouseLeftButtonDown="canvasMain_MouseLeftButtonDown" Focusable="True"  MouseMove="canvasMain_MouseMove" >
            <Slider Canvas.Left="26" Canvas.Top="97" Height="173" x:Name="sliderZoom" Width="28" IsMoveToPointEnabled="False" IsSnapToTickEnabled="False" Maximum="17" Minimum="3" Orientation="Vertical" Value="12" Panel.ZIndex="500"  IsDirectionReversed="False" SmallChange="1" TickPlacement="Both" ValueChanged="sliderZoom_ValueChanged" />

            <Image Canvas.Left="30" Canvas.Top="74" Height="20" x:Name="btnZoomIn" Width="20" Panel.ZIndex="500" Source="/Bigeagle.WPF.Controls;component/Images/ZoomInNormal.png"  TouchDown="MapFunctionButton_TouchDown" MouseLeftButtonDown="MapFunctionButton_MouseLeftButtonDown" MouseLeftButtonUp="MapFunctionButton_MouseLeftButtonUp" TouchUp="MapFunctionButton_TouchUp"/>
            <Image  Canvas.Left="30" Canvas.Top="270" Height="20" x:Name="btnZoomOut" Panel.ZIndex="500" Source="/Bigeagle.WPF.Controls;component/Images/ZoomOutNormal.png" Width="20"  TouchDown="MapFunctionButton_TouchDown" MouseLeftButtonDown="MapFunctionButton_MouseLeftButtonDown" MouseLeftButtonUp="MapFunctionButton_MouseLeftButtonUp" TouchUp="MapFunctionButton_TouchUp"/>

            <Image x:Name="imgBackgroud"  Canvas.Left="12" Canvas.Top="13" Height="60" Stretch="Fill" Width="60" Source="/Bigeagle.WPF.Controls;component/Images/Backgroud.png" Panel.ZIndex="90" />
            <Image x:Name="btnUp" Canvas.Left="31" Canvas.Top="11" Height="20"  Stretch="Fill" Width="20" Panel.ZIndex="500" Source="/Bigeagle.WPF.Controls;component/Images/UpNormal.png" TouchDown="MapFunctionButton_TouchDown" MouseLeftButtonDown="MapFunctionButton_MouseLeftButtonDown" MouseLeftButtonUp="MapFunctionButton_MouseLeftButtonUp" TouchUp="MapFunctionButton_TouchUp"/>
            <Image  Canvas.Left="53" Canvas.Top="32" Height="20" x:Name="btnRight" Panel.ZIndex="500" Source="/Bigeagle.WPF.Controls;component/Images/RightNormal.png" Stretch="Fill" Width="20"  TouchDown="MapFunctionButton_TouchDown"  MouseLeftButtonDown="MapFunctionButton_MouseLeftButtonDown" MouseLeftButtonUp="MapFunctionButton_MouseLeftButtonUp" TouchUp="MapFunctionButton_TouchUp"/>
            <Image  Canvas.Left="10" Canvas.Top="32" Height="20" x:Name="btnLeft" Panel.ZIndex="500" Source="/Bigeagle.WPF.Controls;component/Images/LeftNormal.png" Stretch="Fill" Width="20"  TouchDown="MapFunctionButton_TouchDown" MouseLeftButtonDown="MapFunctionButton_MouseLeftButtonDown" MouseLeftButtonUp="MapFunctionButton_MouseLeftButtonUp" TouchUp="MapFunctionButton_TouchUp"/>
            <Image  Canvas.Left="30" Canvas.Top="55" Height="20" x:Name="btnDown" Panel.ZIndex="500" Source="/Bigeagle.WPF.Controls;component/Images/DownNormal.png" Stretch="Fill" Width="20"   TouchDown="MapFunctionButton_TouchDown" MouseLeftButtonDown="MapFunctionButton_MouseLeftButtonDown" MouseLeftButtonUp="MapFunctionButton_MouseLeftButtonUp" TouchUp="MapFunctionButton_TouchUp"/>

        </Canvas>

        <StackPanel Grid.Column="0" Grid.Row="0" Background="Transparent"></StackPanel>

        <StackPanel Grid.Column="0" Grid.Row="1" Grid.ColumnSpan="2" Background="Transparent"></StackPanel>
    </Grid>
</UserControl>
